package cn.hospital.service;

import cn.hospital.entity.Department;
import cn.hospital.entity.MeaningUser;
import cn.hospital.util.PageBean;

import java.util.List;


public interface MeaningUserService {

    /**
     * 分页查询用户列表
     *
     * @param meaningUser
     * @param
     * @return
     */
    public abstract void selectuser(MeaningUser meaningUser, PageBean page);

    /**
     * 通过id删除用户
     *
     * @param id
     * @return
     */
    public abstract int delMeaningUser(Integer id);

    /**
     * 通过id回显修改内容
     *
     * @param id
     * @return
     */
    public abstract MeaningUser selectuserbyid(Integer id);

    /**
     * 保存修改的内容
     * @param meaningUser
     * @return
     */
    public  int upMeaningUser(MeaningUser meaningUser);

    /**
     * 通过科室id查询用户列表
     * @return
     */
    List<MeaningUser>selectuserlist(Integer id);


}